//
//  GSYMineHeadView.m
//  GoTraveling
//
//  Created by dllo on 15/12/25.
//  Copyright © 2015年 开发华佗. All rights reserved.
//

#import "GSYMineHeadView.h"

@implementation GSYMineHeadView


-(instancetype)initWithFrame:(CGRect)frame
{

    self = [super initWithFrame:frame];
    
    if (self) {
        
        [self createSubViews];
        
    }


    return self;



}
-(void)createSubViews
{


    self.backgroundColor = [UIColor colorWithRed:236/255.0 green:236/255.0 blue:243/255.0 alpha:1.0];
    
    UIImageView *leftImageView = [[UIImageView alloc]initWithFrame:CGRectMake(20, 20, 60, 60)];
    
    leftImageView.image = [UIImage imageNamed:@"iconfont-wode.png"];
    
    leftImageView.backgroundColor = [UIColor clearColor];
    
    [self addSubview:leftImageView];
    
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(110, 30, 100, 30)];
    
    label.text = @"未登录";
    
    label.backgroundColor = [UIColor clearColor];
    
    [self addSubview:label];


}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
